/*
 *  debug.h
 *  xbox360wireless_receiver
 *
 *  Created by Delio Brignoli on 14/12/08.
 *  Copyright 2008 Delio Brignoli. All rights reserved.
 *
 */

#include <IOKit/IOLib.h>

#ifndef NDEBUG

#define dIOLog(level, a, b...) {if (it_drlinux_driver_debug & level) IOLog(a, ## b); }

#define INFO 0x00000002
#define ERROR 0x00000001

#ifdef __cplusplus
extern "C" {
#endif
	
extern UInt32 it_drlinux_driver_debug;

#else

#define dIOLog(level, a, b...)

#endif

#ifdef __cplusplus
}
#endif
